home *** CD-ROM | disk | FTP | other *** search
- @ECHO OFF
- ECHO OFF
- CLS
- ECHO CD-X INC. IS PROUD TO PRESENT:
- ECHO "MODEL'S MEMOIRS - AN INTERACTIVE DIARY"
- ECHO.
- ECHO TO INSTALL THE CD-ROM PLEASE FOLLOW THE INSTRUCTIONS:
- IF (%1)==() GOTO ERROR
- IF (%2)==() GOTO ERROR
- ECHO
- ECHO ┌──────────────────────────────────────────────────────────┐
- ECHO │ CD-X CD-ROM INSTALLATION │
- ECHO ├──────────────────────────────────────────────────────────┤
- ECHO │ │
- ECHO │ You have choosen a CD-ROM drive of %1 and a target │
- ECHO │ drive of %2. (If this is not correct please press │
- ECHO │ 'n' in answer of the question below.) │
- ECHO │ │
- ECHO │ CD-ROM Drive: %1 Install To: %2 │
- ECHO │ │
- ECHO │ EXAMPLE - INSTALL D C │
- ECHO │ ( DO NOT type the : ) │
- ECHO │ │
- ECHO │ The Example installs from a CD-ROM drive of D to │
- ECHO │ a local C drive. │
- ECHO │ A sub-directory named CD_X will be created on drive │
- ECHO │ %2. The CD-ROM program files will then be loaded into │
- ECHO │ the CD_X sub-directory. This Install is for Systems │
- ECHO │ with a Hard Drive of "C" - If otherwise please read │
- ECHO │ the README.TXT file for instructions. │
- ECHO └──────────────────────────────────────────────────────────┘
- ECHO.
- ASK Is this information correct?
- if not errorlevel 1 goto ERROR
- echo
- echo Installing CD-X Model's Memoirs Program...
- MD %2:\CD_X
- ECHO OFF
- XCOPY %1:\README.* %2:\CD_X
- XCOPY %1:\*.GFT %2:\CD_X
- XCOPY %1:\TMMPLAY.* %2:\CD_X
- XCOPY %1:\TESTAUD.EXE %2:\CD_X
- XCOPY %1:\TEST.WAV %2:\CD_X
- XCOPY %1:\%1PLAY\*.BAT %2:\CD_X
- GOTO DONE
- :dfull
- CLS
- ECHO.
- ECHO.
- ECHO
- ECHO
- ECHO ┌──────────────────────────────────────────────────────────┐
- ECHO │ !!! AN ERROR HAS OCCURRED DURING INSTALLATION !!! │
- ECHO. │ │
- ECHO │ Please make sure that you have specified a Hard Disk │
- ECHO │ as the destination and there is at least 600,000 bytes │
- ECHO │ free space. │
- ECHO └──────────────────────────────────────────────────────────┘
- ECHO.
- ECHO.
- GOTO END
- :ERROR
- ECHO.
- ECHO
- ECHO
- ECHO ┌──────────────────────────────────────────────────────────┐
- ECHO. │ PLEASE INSTALL CD-X CD AS EXAMPLE! │
- ECHO │ │
- ECHO │ EXAMPLE: ┌───── CD-ROM DRIVE: │
- ECHO │ INSTALL D C │
- ECHO │ └───DESTINATION DRIVE: │
- ECHO │ │
- ECHO │ ( make sure not to type the : ) │
- ECHO └──────────────────────────────────────────────────────────┘
- ECHO.
- ECHO.
- ECHO.
- ECHO.
- GOTO END
- :Done
- CLS
- ECHO.
- ECHO.
- ECHO.
- ECHO.
- ECHO.
- ECHO ┌──────────────────────────────────────────────┐
- ECHO │ Installation complete! │
- ECHO │ Once the Audio Test is complete - │
- ECHO │ Type GO and press [Enter] to view CD! │
- ECHO └──────────────────────────────────────────────┘
- ECHO.
- ECHO.
- ECHO.
- ECHO.
- ECHO.
- %2:
- cd \CD_X
- TESTAUD.EXE TEST.WAV
- ECHO.
- ECHO.
- ECHO.
- ECHO.
- Echo Please Read README.TXT file for Help!
- ECHO.
- Echo Type GO [ENTER] to play Model's Memoirs
- ECHO.
- :END